/**
 * 角色枚举常量
 */
export enum RoleEnum {
  /** 管理员 */
  ADMIN = "ADMIN",

  /** 学生 */
  STUDENT = "STUDENT",

  /** 教师 */
  TEACHER = "TEACHER",
}

/**
 * 角色显示名称映射
 */
export const RoleDisplayMap: Record<RoleEnum, string> = {
  [RoleEnum.ADMIN]: "管理员",
  [RoleEnum.STUDENT]: "学生",
  [RoleEnum.TEACHER]: "教师",
};

/**
 * 角色选项
 */
export const RoleOptions = [
  { label: RoleDisplayMap[RoleEnum.ADMIN], value: RoleEnum.ADMIN },
  { label: RoleDisplayMap[RoleEnum.STUDENT], value: RoleEnum.STUDENT },
  { label: RoleDisplayMap[RoleEnum.TEACHER], value: RoleEnum.TEACHER },
];
